A=int(input())   #甲
B=int(input())   #乙
if A > B:
    print('A is bigger than B')
elif A == B:
    print('A is as big as B')
else:
    print('B is bigger than A')
